package com.cxyd.modules.wms.service;

import com.cxyd.common.service.CrudService;
import com.cxyd.common.utils.ProcResult;
import com.cxyd.common.utils.Result;
import com.cxyd.modules.wms.dto.AllotRecordDTO;
import com.cxyd.modules.wms.entity.AllotRecordEntity;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

public interface AllotRecordService extends CrudService<AllotRecordEntity, AllotRecordDTO> {
    int batchSave(List<AllotRecordEntity> entities);
    Result allotRecordImport(MultipartFile file);

    ProcResult procStockAllot(Map<String, Object> params);

    List<AllotRecordDTO> getList(Map<String, Object> params);
}
